Conversion apparatus, conversion method and program

ABSTRACT

A conversion apparatus improves utilization of definition information for system migration by including: a first conversion unit converting definition information about first rules for generating first data showing information about an operation of a migration source first system in a form depending on an implementation technique of the first system based on materials of the first system, according to a combination of first environment information showing an environment that the first system depends on and second environment information showing an environment that a migration destination second system depends on; a second conversion unit converting definition information about second rules for generating second data showing the information about the operation in a form not depending on a particular implementation technique based on the first data, according to the combination of the first environment information and the second environment information; and a third conversion unit converting definition information about third rules for generating third data showing the information about the operation in a form depending on an implementation technique of the second system based on the second data and the first data, according to the combination of the first environment information and the second environment information.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a U.S. National Stage Application filed under 35U.S.C. § 371 claiming priority to International Patent Application No.PCT/JP2019/042639, filed on 30 Oct. 2019, the disclosure of which ishereby incorporated herein by reference in its entirety.

TECHNICAL FIELD

The present invention relates to a conversion apparatus, a conversionmethod and a program.

BACKGROUND ART

For a computer system such as a web system, a method called model-drivenmigration is known as a technique for implementing a new system by animplementation technique different from an implementation technique ofan old system based on materials of the old system (Non-PatentLiterature 1).

FIG. 1 is a diagram for illustrating a conventional technique. In theconventional technique, first, a model specific to an implementationtechnique of an old system is mechanically generated, with materialssuch as source codes and setting files of the old system as an input.After the generated model is converted to a generic intermediate modelindependent of a particular implementation technique, the intermediatemodel is converted to a model specific to an implementation technique ofa new system. Lastly, source codes of the new system are generated fromthe model specific to the implementation technique of the new system.The generic intermediate model independent of a particularimplementation technique includes a static data structure, algorithms ofprocesses to be executed, a GUI and screen transitions.

However, though there are some parts where conversion between the modelsand creation of source codes from the models can be mechanicallyperformed, it is not possible to, for parts where implementation iscomplicated, completely mechanically perform conversion or generation,and complementary work by human hands is required.

A logic shown in FIG. 1 will be referred to as “a migration logic” belowfor convenience.

CITATION LIST Non-Patent Literature

-   Non-Patent Literature 1: Franck Fleurey, Erwan Breton, Benoit    Baudry, Alain Nicolas, Jean-Marc Jezequel. Model-Driven Engineering    for Software Migration in a Large Industrial Context. MoDELS'07,    2007, Nashville, Tenn., USA, United States. 2007.

SUMMARY OF THE INVENTION Technical Problem

However, the range of reuse of a migration logic developed for a singledevelopment project is limited. Therefore, there is a problem that costat the time of creating a migration logic for each project is notoptimal.

That is, in the prior-art technique, a migration logic is created foreach project along a concept of the model-driven migration. Though theremay be a case where a part of a migration logic created for a similarproject in the past can be utilized, the utilization range is limited.This is because, even if programming languages and coding notations arethe same between similar projects, difference is increased due todifference between versions of the programming languages, libraries andthe like used in the projects, or rules for conversion depend onrequirements specific to the projects.

If such versions and the like can be fixed (can be caused to be the samebetween projects), utilization of a migration logic created for aprevious project becomes possible. Actually, however, it is required asa requirement fora new system to be a system optimized by the latestversion at that time point, and, therefore, it is not a realisticsolution to simply fix a version.

The present invention has been made in view of the above problem, and anobject is to improve utilization of definition information for systemmigration.

Means for Solving the Problem

Therefore, in order to solve the above problem, a conversion apparatusincludes: a first conversion unit converting definition informationabout first rules for generating first data showing information about anoperation of a migration source first system in a form depending on animplementation technique of the first system based on materials of thefirst system, according to a combination of first environmentinformation showing an environment that the first system depends on andsecond environment information showing an environment that a migrationdestination second system depends on; a second conversion unitconverting definition information about second rules for generatingsecond data showing the information about the operation in a form notdepending on a particular implementation technique based on the firstdata, according to the combination of the first environment informationand the second environment information; and a third conversion unitconverting definition information about third rules for generating thirddata showing the information about the operation in a form depending onan implementation technique of the second system based on the seconddata and the first data, according to the combination of the firstenvironment information and the second environment information.

Effects of the Invention

It is possible to improve utilization of definition information forsystem migration.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a diagram for illustrating a conventional technique.

FIG. 2 is a diagram showing a hardware configuration example of a systemmigration support apparatus 10 in an embodiment of the presentinvention.

FIG. 3 is a diagram showing a functional configuration example of thesystem migration support apparatus 10 in the embodiment of the presentinvention.

FIG. 4 is a flowchart for illustrating an example of a processingprocedure executed by an environment determination unit 11.

FIG. 5 is a flowchart for illustrating an example of a processingprocedure executed by an old system analysis unit 12.

FIG. 6 is a flowchart for illustrating an example of a processingprocedure executed by an old model extension rule application unit 17.

FIG. 7 is a flowchart for illustrating an example of a processingprocedure executed by an intermediate model generation unit 13.

FIG. 8 is a flowchart for illustrating an example of a processingprocedure executed by an intermediate model extension rule applicationunit 18.

FIG. 9 is a flowchart for illustrating an example of a processingprocedure executed by a new system model generation unit 14.

FIG. 10 is a flowchart for illustrating an example of a processingprocedure executed by a new model extension rule application unit 19.

FIG. 11 is a flowchart for illustrating an example of a processingprocedure executed by a material generation unit 15.

FIG. 12 is a flowchart for illustrating an example of a processingprocedure executed by a report generation unit 16.

DESCRIPTION OF EMBODIMENTS

An embodiment of the present invention will be described below based ondrawings. FIG. 2 is a diagram showing a hardware configuration exampleof a system migration support apparatus 10 in the embodiment of thepresent invention. The system migration support apparatus 10 in FIG. 2is a computer having a drive device 100, an auxiliary storage device102, a memory device 103, a CPU 104, an interface device 105 and thelike that are mutually connected via a bus B.

A program that realizes processes in the system migration supportapparatus 10 is provided by a recording medium 101 such as a CD-ROM.When the recording medium 101 that stores the program is set in thedrive device 100, the program is installed into the auxiliary storagedevice 102 from the recording medium 101 via the drive device 100.However, installation of the program is not necessarily required to beperformed from the recording medium 101. The program may be downloadedfrom another computer via a network. The auxiliary storage device 102stores the installed program and stores necessary files, data and thelike.

When an instruction to launch the program is given, the memory device103 reads out the program from the auxiliary storage device 102 andstores the program. The CPU 104 executes functions related to the systemmigration support apparatus 10 according to the program stored in thememory device 103. The interface device 105 is used as an interface forconnecting to a network.

FIG. 3 is a diagram showing a functional configuration example of thesystem migration support apparatus 10 in the embodiment of the presentinvention. In FIG. 3 , the system migration support apparatus 10includes an environment determination unit 11, an old system analysisunit 12, an intermediate model generation unit 13, a new system modelgeneration unit 14, a material generation unit 15, a report generationunit 16, an old model extension rule application unit 17, anintermediate model extension rule application unit 18, a new modelextension rule application unit 19 and the like. These units arerealized by processes that one or more programs installed in the systemmigration support apparatus 10 cause the CPU 104 to execute. The systemmigration support apparatus 10 uses databases (DBs) such as a model DB121 and a model generation information DB 122. These DBs can berealized, for example, using a storage device or the like connectable tothe auxiliary storage device 102 or the system migration supportapparatus 10 via a network.

The environment determination unit 11 determines which programminglanguages and which libraries, frameworks and the like are used by allmaterials (files of source codes (hereinafter referred to as “sourcefiles”, setting files and the like) included in an old system, andinformation (hereinafter, referred to as “old environment information”)showing what are versions thereof, (that is, information showing animplementation environment or a system environment that the old systemdepends on (hereinafter referred to as “an old implementationenvironment”)). Here, the old system is, for example, a computer systemsuch as a web system and refers to a system to be a migration sourcerelative to a new system to be a migration destination (hereinafterreferred to as “a new system”). The environment determination unit 11further determines (identifies) information (hereinafter referred to as“new environment information”) showing an implementation environment ora system environment that the new system depends on (hereinafterreferred to as “a new implementation environment”) based on the oldenvironment information. The old environment information and the newenvironment information will be referred to simply as “environmentinformation” when both are not discriminated from each other.

The old system analysis unit 12 generates data showing information aboutan operation of the old system (a process executed by the old system) ina form depending on an implementation technique of the old system(hereinafter referred to as “an old system model”) based on thematerials of the old system, and stores the generated old system modelinto the model DB 121. Note that an old system model generation method(generation rules) is defined beforehand, for example, in a plurality ofold system model generation rules stored in the auxiliary storage device102. In other words, the old system analysis unit 12 applies each of theold system model generation rules to the source files and setting filesof the old system model to generate the old system model.

The old model extension rule application unit 17 changes the existingold system model generation rules to content suitable for migration tothe new system, based on a conversion method corresponding to acombination of old environment information and new environmentinformation determined by the environment determination unit 11.

The intermediate model generation unit 13 generates data showing theinformation about the operation of the old system in a general-purposeform not depending on a particular implementation technique (hereinafterreferred to as “an intermediate model”) based on the old system modeland stores the generated intermediate model into the model DB 121. Theinformation about the operation of the old system includes a static datastructure, algorithms for processes to be executed, a GUI (graphicaluser interfaces), screen transitions and the like in the old system. Theintermediate model generation unit 13 also generates correspondenceinformation showing correspondence relationships between portions of theold system model and portions of the intermediate model (hereinafterreferred to as “intermediate model generation information”) togetherwith the intermediate model and stores the generated intermediate modelgeneration information into the model generation information DB 122.Note that a method (generation rules) for generating the intermediatemodel and the intermediate model generation information is definedbeforehand, for example, in a plurality of intermediate model generationrules stored in the auxiliary storage device 102. In other words, theintermediate model generation unit 13 applies each of the intermediatemodel generation rules to the old system model to generate theintermediate model and the intermediate model generation information.

The intermediate model extension rule application unit 18 changes theexisting intermediate model generation rules to content suitable formigration to the new system, based on the conversion methodcorresponding to the combination of the old environment information andthe new environment information determined by the environmentdetermination unit 11.

The new system model generation unit 14 refers to the intermediate modelgeneration information to identify the portions of the old system modelcorresponding to the portions of the intermediate model. Then, based oneach of the identified portions, the new system model generation unit 14generates data showing the information about the operation of the oldsystem in a form depending on an implementation technique of the newsystem for a configuration of the new system, APIs to be used, and thelike (hereinafter referred to as “a new system model”) and stores thegenerated new system model into the model DB 121. The new system modelgeneration unit 14 also generates correspondence information showingcorrespondence relationships between the portions of the intermediatemodel and portions of the new system model (hereinafter referred to as“new system model generation information”) together with the new systemmodel and stores the generated new system model generation informationinto the model generation information DB 122. Note that a generationmethod (generation rules) for the new system model and the new systemmodel generation information is defined beforehand, for example, in aplurality of new system model generation rules stored in the auxiliarystorage device 102. In other words, the new system model generation unit14 applies each new system model generation rule to the intermediatemodel and the intermediate model generation information to generate thenew system model and the new system model generation information.

The material generation unit 15 applies, for example, new systemmaterial generation rules stored in the auxiliary storage device 102 tothe new system model to generate materials (source files, setting filesand the like) of the new system.

The new model extension rule application unit 19 changes the existingnew system model generation rules to content suitable for migration tothe new system, based on the conversion method corresponding to thecombination of the old environment information and the new environmentinformation determined by the environment determination unit 11.

The report generation unit 16 generates information including acorrespondence relationship between the old system and the new systemand the like (hereinafter referred to as a “report”) that assists at thetime of manually performing complementary work for the materials of thenew system generated by the material generation unit 15, based on thenew system model generation information and the intermediate modelgeneration information. Note that a generation method (generation rules)for the report is defined beforehand, for example, in a plurality ofreport generation rules stored in the auxiliary storage device 102. Inother words, the report generation unit 16 applies each reportgeneration rule to the new system model generation information and theintermediate model generation information to generate the report.

A processing procedure execute by the system migration support apparatus10 will be described below. FIG. 4 is a flowchart for illustrating anexample of a processing procedure executed by the environmentdetermination unit 11.

At step S101, the environment determination unit 11 reads onepre-migration material (hereinafter referred to as “a targetpre-migration material”) into the memory device 103. The pre-migrationmaterial refers to a source file of an old system.

Next, the environment determination unit 11 identifies a programminglanguage and libraries used by the target pre-migration material andversions thereof (that is, old environment information related to thetarget pre-migration material) (S102). For example, the old environmentinformation related to the target pre-migration material may beidentified from a jar file and the like included in the targetpre-migration material. Specifically, the environment determination unit11 can identify the programming language and the version thereof byreferring to content of the target pre-migration material. Further, theenvironment determination unit 11 can access the libraries used by thetarget pre-migration material to identify the versions of the libraries,in the environment in which the old system is constructed.

When steps S101 and S102 have been executed for all pre-migrationmaterials (source files) (S103: Yes), the environment determination unit11 determines (identifies) new environment information based on the oldenvironment information determined by the process so far (S103). Here,the old environment information may be such that is obtained byintegrating determination results of the materials (after exclusion ofduplication of each determination result) or may be a set of thedetermination results of the materials.

Determination of the new environment information based on the oldenvironment information may be performed on a rule basis. A rule on therule basis is a conversion rule with the old environment information asan input and the new environment information as an output, which isdefined beforehand. Such a rule may be defined based on rule of thumb.For example, if there is an actual result (rule of thumb) that, in manycases, a migration destination of Struts of the Java (registeredtrademark) language is Spring of the Java (registered trademark)language, then, based on such an actual result, a rule may be definedthat, if a framework of old environment information is Struts, Spring isidentified as a framework of new environment information.

Note that, since there may be a case where conditions after migrationare specified, the new environment information may be specified by auser. Further, the old environment information may be inputted by theuser because the user knows the old environment information. However, bycausing the environment information to be determined by the environmentdetermination unit 11, a burden on the user can be reduced.

FIG. 5 is a flowchart for illustrating an example of a processingprocedure executed by the old system analysis unit 12. The processingprocedure of FIG. 5 is executed after the processing procedure of FIG. 4ends.

At step S201, the old system analysis unit 12 converts an existing oldsystem model generation rule group to content suitable for migration toa new system by calling the old model extension rule application unit17. At this time, the existing old system model generation rule group isinputted to the old model extension rule application unit 17. The oldsystem analysis unit 12 receives the old system model generation rulegroup after being converted, as output information from the old modelextension rule application unit 17.

Next, the old system analysis unit 12 inputs the source files andsetting files of the old system and generates a list of these files(hereinafter referred to as “a file list”) (S202).

Next, the old system analysis unit 12 determines whether or not stepS204 and subsequent steps have been executed for all the files includedin the generated file list (S203). If there are files for which stepS204 and the subsequent steps have not been executed (S203: Yes), theold system analysis unit 12 reads, with one file (hereinafter referredas a “target file”) among the unprocessed files as a processing target,the content of the target file into the memory device 103 (S204).

Next, the old system analysis unit 12 analyzes the content of the targetfile (S205). Specifically, the old system analysis unit 12 performslexical analysis and parsing according to the file type (such as sourcefile and setting file) for the target file and converts the content ofthe target file to tree-structured data suitable for processing by acalculator.

Next, the old system analysis unit 12 applies the plurality of oldsystem model generation rules to the tree-structured data to generate anold system model, and stores the old system model into the model DB 121(S206).

The old system model generation rules refers to data in which rules aredefined, the rules being for classifying the source files and thesetting files according to conditions such as file classifications,commonality among character strings included in file names, commonalityamong character strings constituting paths on a system, and whether aparticular API is used or not, and generating a model (data) holding aparameter specified for each classification as an old system model. Theold system model generation rules are created by a person whounderstands implementation of the old system. For example, the oldsystem model generation rules may be created for each of theclassifications. It is because there is a possibility that a parameterconfiguration and a parameter expression form differ for eachclassification and that a data format of (a portion of) the generatedold system model differs for each classification that parameters arespecified for each classification. In other words, the conditions, suchas the file type, the commonality among character strings included infile names, the commonality among character strings constituting pathson the system, and whether a particular API is used or not, which aredescribed above, are examples of a condition for distinguishingdifferences between data formats (parameter formats) at the time ofconversion to the old system model, and if another condition isappropriate from such a point of view, source file groups and settingfile groups may be classified based on the other condition. Note thatthe old system model generation rules are dependent on an implementationtechnique such as a programming language and frameworks used forimplementation of the old system. Therefore, information dependent onthe implementation technique, such as information about types (data)dependent on a particular programming language and a name of an APIdependent on a particular library, can be included in parameters thatthe old system model has.

When steps S204 to S206 described above have been executed for all thefiles included in the file list (S203: No), the old system analysis unit12 ends the process.

FIG. 6 is a flowchart for illustrating an example of a processingprocedure executed by the old model extension rule application unit 17.The processing procedure of FIG. 6 is called at step S201 of FIG. 5 .

At step S301, the old model extension rule application unit 17 acquiresone old system model generation rule in the old system model generationrule group inputted from the old system analysis unit 12, as aprocessing target (hereinafter referred to as “a target generationrule”).

Next, the old model extension rule application unit 17 applies old modelextension rules to the target generation rule to correct, add or deletethe old system model generation rules (S302). Correction of the oldsystem model generation rules refers to change of a part of the targetgeneration rule. Addition to the old system model generation rulesrefers to addition of a new old system model generation rule (forexample, addition of “e” when “a”, “b” and “c” exist as the old systemmodel generation rules). Deletion from the old system model generationrules refers to deletion of the target generation rule. Note that, forconversion of the intermediate model generation rules and conversion ofthe new system model generation rules, the meaning of correction,addition or deletion is similar.

In the old model extension rules, for example, a conversion method(correction, addition and deletion) according to a combination of oldenvironment information and new environment information is definedbeforehand for each of the old system model generation rules. Therefore,the old model extension rule application unit 17 converts the targetgeneration rule based on a conversion method identified by applying theset of the old environment information and the new environmentinformation determined by the environment determination unit 11 to theold model extension rules.

When steps S301 and S302 have been executed for all the old system modelgeneration rules inputted from the old system analysis unit 12 (S303:Yes), the old model extension rule application unit 17 ends the process.

FIG. 7 is a flowchart for illustrating an example of a processingprocedure executed by the intermediate model generation unit 13. Theprocessing procedure of FIG. 7 is executed after the processingprocedure of FIG. 5 ends.

At step S401, the intermediate model generation unit 13 converts anexisting intermediate model generation rule group to content suitablefor migration to the new system by calling the intermediate modelextension rule application unit 18. At this time, the intermediate modelgeneration rule group is inputted to the intermediate model extensionrule application unit 18. The intermediate model generation unit 13receives the intermediate model generation rule group after beingconverted, as output information from the intermediate model extensionrule application unit 18.

Next, the intermediate model generation unit 13 acquires one unappliedintermediate model generation rule (hereinafter referred to as “a targetrule”) among the plurality of intermediate model generation rulesincluded in the output information, as an application target. Theplurality of intermediate model generation rules are applied todifferent application positions (application portions) of the old systemmodel, respectively. In other words, the old system model is notnecessarily expressed in a unified data format through the whole. Forexample, a data format after conversion to the old system model maydiffer according to the classifications described above. Therefore, forexample, the intermediate model generation rules may be created for eachof the classifications described above.

Next, the intermediate model generation unit 13 applies the target ruleto a position (a portion) corresponding to the target rule in the oldsystem model in the model DB 121 to generate a portion of anintermediate model corresponding to the portion, and stores the portionof the intermediate model into the model DB 121 (S403).

The intermediate model generation rules refers to data in which rulesare defined, the rules being for extracting parameters related to astatic data structure, algorithms for processes, a GUI and screentransitions from the old system model to generate a model (data) thatincludes the parameters, as the intermediate model in a form notdepending on a particular implementation technique, and generatingintermediate model generation information about the intermediate model.The intermediate model generation rules are created by a person whounderstands the implementation of the old system.

Next, the intermediate model generation unit 13 generates intermediatemodel generation information that includes the target rule, the position(the portion) of the old system model to which the target rule isapplied and the position (the portion) of the intermediate modelgenerated as a result, based on the target rule and stores theintermediate model generation information into the model generationinformation DB 122 (S404). In other words, the intermediate modelgeneration information is information showing a correspondencerelationship between the position (the portion) of the old system modeland the position (the portion) of the intermediate model, and showing bywhat conversion process the position of the intermediate model has beengenerated. As for “what conversion process”, it is expressed by thetarget rule. Note that, here, the position (the portion) of theintermediate model refers to a position (a portion) of the intermediatemodel when a set of parts of intermediate models generated by all theintermediate model generation rules is grasped as one intermediatemodel. In other words, each intermediate model generation rule generatesa portion of the intermediate model that is finally generated.Therefore, the position (the portion) is the portion of the intermediatemodel generated at step S403. Note that data formats of the positions(the portions) of the intermediate model may be mutually different.

When steps S402 to S404 have been executed for all the intermediatemodel generation rules (S405: Yes), the intermediate model generationunit 13 ends the process.

FIG. 8 is a flowchart for illustrating an example of a processingprocedure executed by the intermediate model extension rule applicationunit 18. The processing procedure of FIG. 8 is called at step S401 ofFIG. 7 .

At step S501, the intermediate model extension rule application unit 18acquires one intermediate model generation rule in the intermediatemodel generation rule group inputted from the intermediate modelgeneration unit 13, as a processing target (hereinafter referred to as“a target generation rule”).

Next, the intermediate model extension rule application unit 18 appliesintermediate model extension rules to the target generation rule tocorrect, add or delete the intermediate model generation rules (S502).

In the intermediate model extension rules, for example, a conversionmethod (correction, addition and deletion) according to a combination ofold environment information and new environment information is definedbeforehand for each intermediate model generation rule. Therefore, theintermediate model extension rule application unit 18 converts thetarget generation rule based on a conversion method identified byapplying the set of the old environment information and the newenvironment information determined by the environment determination unit11 to the intermediate model extension rules.

When steps S501 and S502 have been executed for all the intermediatemodel generation rules inputted from the intermediate model generationunit 13 (S503: Yes), the intermediate model extension rule applicationunit 18 ends the process.

FIG. 9 is a flowchart for illustrating an example of a processingprocedure executed by the new system model generation unit 14. Theprocessing procedure of FIG. 9 is executed after the processingprocedure of FIG. 7 ends.

At step S601, the new system model generation unit 14 converts anexisting new system model generation rule group to content suitable formigration to the new system by calling the new model extension ruleapplication unit 19. At this time, the new system model generation rulegroup is inputted to the new model extension rule application unit 19.The new system model generation unit 14 receives the new system modelgeneration rule group after being converted, as output information fromthe new model extension rule application unit 19.

Next, the new system model generation unit 14 acquires one unapplied newsystem model generation rule (hereinafter referred to as “a targetrule”) among the plurality of new system model generation rules includedin the output information, from the auxiliary storage device 102 as anapplication target. The plurality of new system model generation rulesare applied to different application positions (application portions) ofthe intermediate model, respectively. In other words, the intermediatemodel is not necessarily expressed in a unified data format through thewhole. For example, a data format after conversion to the intermediatemodel may differ according to the classifications described above.Therefore, for example, the new system model generation rules may becreated for each of the classifications described above.

Next, for each of the intermediate model and the intermediate modelgeneration information in the model DB 121, the new system modelgeneration unit 14 applies the target rule to the position (the portion)corresponding to the target rule to generate a portion of a new systemmodel, and stores the portion of the new system model into the model DB121 (S603).

The new system model generation rules refers to data in which rules aredefined, the rules being for determining a configuration of the newsystem, APIs to be used and the like by a static data structure of theintermediate model, algorithms of processes, a GUI, various kinds ofparameters related to screen transition, and implementation details ofthe intermediate model recorded as the intermediate model generationinformation in the old system (the static data structure, the algorithmsof processes, the GUI and the parameters related to screen transitionsfrom the old system model), and generating a model holding them asparameters as a new system model. The new system model generation rulesare created by a person who understands the implementation of the oldsystem and the implementation of the new system. In other words, basedon the position (the portion) corresponding to the target rule in theintermediate model generation information, the new system modelgeneration unit 14 identifies a position corresponding to the targetrule in the old system model. The new system model generation unit 14generates a portion of the new system model based on the position (theportion) corresponding to the target rule in the intermediate model andthe position (the portion) corresponding to the target rule in the oldsystem model. Here, by not only the intermediate model but also theposition (the portion) corresponding to the target rule in the oldsystem model being directly referred to (traced) based on theintermediate model generation information, details of the implementationinformation about the old system, which is missed in the conventionaltechnique, can be reflected on the new system model. For example, theAPI name and the like dependent on the implementation technique of theold system can be converted to an API name and the like dependent on theimplementation technique of the new system.

Next, the new system model generation unit 14 generates new system modelgeneration information that includes the target rule, the position (theportion) of the intermediate model to which the target rule is appliedand the position (the portion) of the new system model generated as aresult, based on the target rule and stores the new system modelgeneration information into the model generation information DB 122(S604). In other words, the new system model generation information isinformation showing a correspondence relationship between the position(the portion) of the intermediate model and the position (the portion)of the new system model, and showing by what conversion process theposition (the portion) of the new system model has been generated. Asfor “what conversion process”, it is expressed by the target rule. Notethat, here, the position (the portion) of the new system model refers toa position (a portion) of the new system model when a set of parts ofnew system models generated by all the new system model generation rulesis grasped as one new system model. In other words, each new systemmodel generation rule generates a portion of the new system model thatis finally generated. Therefore, the position (the portion) is theportion of the new system model generated at step S603. Note that dataformats of the positions (the portions) of the new system model may bemutually different.

When steps S602 to S604 have been executed for all the new system modelgeneration rules (S605: Yes), the new system model generation unit 14ends the process.

FIG. 10 is a flowchart for illustrating an example of a processingprocedure executed by the new model extension rule application unit 19.The processing procedure of FIG. 10 is called at step S601 of FIG. 9 .

At step S701, the new model extension rule application unit 19 acquiresone new system model generation rule in the new system model generationrule group inputted from the new system model generation unit 14, as aprocessing target (hereinafter referred to as “a target generationrule”).

Next, the new model extension rule application unit 19 applies new modelextension rules to the target generation rule to correct, add or deletethe new system model generation rules (S702).

In the new model extension rules, for example, a conversion method(correction, addition and deletion) according to a combination of oldenvironment information and new environment information is definedbeforehand for each of the new system model generation rules. Therefore,the new model extension rule application unit 19 converts the targetgeneration rule based on a conversion method identified by applying theset of the old environment information and the new environmentinformation determined by the environment determination unit 11 to thenew model extension rules.

When steps S701 and S702 have been executed for all the new system modelgeneration rules inputted from the new system model generation unit 14(S703: Yes), the new model extension rule application unit 19 ends theprocess.

FIG. 11 is a flowchart for illustrating an example of a processingprocedure executed by the material generation unit 15. The processingprocedure of FIG. 11 is executed after the processing procedure of FIG.9 ends.

At step S801, the material generation unit 15 acquires one unapplied newsystem material generation rule (hereinafter referred to as “a targetrule”) among a plurality of new system material generation rules, fromthe auxiliary storage device 102 as an application target. The pluralityof new system material generation rules are applied to differentapplication positions (application portions) of the new system model,respectively. In other words, the new system model is not necessarilyexpressed in a unified data format through the whole. For example, adata format after conversion to the new system model may differaccording to the classifications described above. Therefore, forexample, the new system material generation rules may be created foreach of the classifications described above.

Next, the material generation unit 15 applies the target rule to aposition (a portion) corresponding to the target rule in the new systemmodel in the model DB 121 to generate a portion of each of source files(source codes) and setting files of the new system (S802). The generatedportion of each of the source files and setting files is stored into theauxiliary storage device 102 or the like.

The new system material generation rules refers to data in which rulesfor generating the content of the source files and setting files of thenew system as character strings, using information about configurationsof the source files and the setting files held by the new system modeland the used API are defined. The material generation unit 15 outputsthe generated character strings as source files or setting files of thenew system using information such as the file names, the file paths andthe like held by the new system model.

When steps S801 and S802 have been executed for all the new systemmaterial generation rules (S803: Yes), the material generation unit 15ends the process.

FIG. 12 is a flowchart for illustrating an example of a processingprocedure executed by the report generation unit 16. The processingprocedure of FIG. 12 is executed after the processing procedure of FIG.11 ends.

At step S901, the report generation unit 16 acquires one unappliedreport generation rule (hereinafter referred to as a “target rule”)among the plurality of report generation rules, from the auxiliarystorage device 102 as an application target. The plurality of reportgeneration rules are applied to different application positions(application portions) of the new system model generation information,respectively. In other words, the new system model generationinformation is not necessarily expressed in a unified data formatthrough the whole. For example, a data format after conversion to thenew system model generation information may differ according to theclassifications described above. Therefore, for example, the reportgeneration rules may be created for each of the classificationsdescribed above.

Next, the report generation unit 16 applies the target rule to thepositions (the portions) corresponding to the target rule in the newsystem model generation information and the intermediate modelgeneration information stored in the model generation information DB 122to generate a portion of a report (S902).

The report generation rules refers to data in which rules are defined,the rules being for generating a report that includes informationshowing correspondence relationships between (portions of) the newsystem and (portions of) the old system, and information showing contentof work and an estimated amount of the work at the time of manuallycomplementing new system source files and setting files, based on newsystem model generation rules applied to positions (portions) of theintermediate model that are generation sources of parts of the newsystem model and the positions (the portions) of the intermediate model,and intermediate model generation rules applied to positions (portions)of the old system model that are generation sources of the positions(the portions) of the intermediate model and the positions (theportions) of the old system mode, which are included in the new systemmodel generation information. The report generation rules are created bya person who understands the implementation of each of the old systemand the new system.

At step S902, a correspondence relationship between the position (theportion) corresponding to the target rule in the new system model andthe position (the portion) corresponding to the target rule in the oldsystem model is identified. The position (the portion) corresponding tothe target rule in the old system model can be identified by referringto the position (the portion) in the intermediate model generationinformation identified based on the position (the portion) correspondingto the target rule in the new system model generation information. Inother words, the position (the portion) of the intermediate modelgeneration information includes information showing a position (aportion) of the old system model to which intermediate model generationinformation corresponding to the position (the portion) of theintermediate model corresponding to the position (the portion) isapplied.

When steps S901 and S902 have been executed for all the reportgeneration rules (S903: Yes), the report generation unit 16 integratesportions of reports and outputs them as a file (S904).

As described above, according to the present embodiment, existing oldsystem model generation rules, intermediate model generation rules ornew system model generation rules are automatically converted to contentsuitable for migration from a particular old system to a particular newsystem by the old model extension rule application unit 17, theintermediate model extension rule application unit 18 and the new modelextension rule application unit 19. Therefore, it is possible to improveutilization of definition information for system migration.

Note that, in existing techniques, it is necessary to generate an oldsystem model, a general-purpose intermediate model and a new systemmodel for each development project. Or alternatively, it is necessary toperform rewriting based on models for a previous project. Even in thecase of reusing models for a previous project, rules are such that areoptimized for requirements of a reuse source project, and the range ofreuse is limited.

On the other hand, according to the present embodiment, it is notnecessary to add rules fora development project, or it is possible toperform migration by adding minimum necessary rules for portionsspecialized for the project.

Note that, in the present embodiment, the system migration supportapparatus 10 is an example of a conversion apparatus. The old system isan example of a first system. The new system is an example of a secondsystem. The old system model is an example of first data. Theintermediate model is an example of second data. The new system model isan example of third data. The old system model generation rules are anexample of definition information about first rules. The intermediatemodel generation rules are an example of definition information aboutsecond rules. The new system model generation rules are an example ofdefinition information about third rules. The old model extension ruleapplication unit 17 is an example of a first conversion unit. Theintermediate model extension rule application unit 18 is an example of asecond conversion unit. The new model extension rule application unit 19is an example of a third conversion unit. The old implementationenvironment information is an example of first environment information.The new implementation environment information is an example of secondenvironment information.

An embodiment of the present invention has been described in detailabove. The present invention is, however, not limited to such aparticular embodiment, and various modifications and changes arepossible within a scope of the spirit of the present invention describedin Claims.

REFERENCE SIGNS LIST

-   -   10 System migration support apparatus    -   11 Environment determination unit    -   12 Old system analysis unit    -   13 Intermediate model generation unit    -   14 New system model generation unit    -   15 Material generation unit    -   16 Report generation unit    -   17 Old model extension rule application unit    -   18 Intermediate model extension rule application unit    -   19 New model extension rule application unit    -   100 Drive device    -   101 Recording medium    -   102 Auxiliary storage device    -   103 Memory device    -   104 CPU    -   105 Interface device    -   121 Model DB    -   122 Model generation information DB    -   B Bus

The invention claimed is:
 1. A conversion apparatus comprising aprocessor configured to execute a method comprising: convertingdefinition information about first rules for generating first datashowing information about an operation of a first system associated witha migration source in a form depending on an implementation technique ofthe first system based on materials of the first system, according to acombination of first environment information showing an environment thatthe first system depends on and second environment information showingan environment that a second system associated with a migrationdestination depends on; converting definition information about secondrules for generating second data showing the information about theoperation in a form not depending on an implementation technique basedon the first data, according to the combination of the first environmentinformation and the second environment information; and convertingdefinition information about third rules for generating third datashowing the information about the operation in a form depending on animplementation technique of the second system based on the second dataand the first data, according to the combination of the firstenvironment information and the second environment information.
 2. Theconversion apparatus according to claim 1, the processor furtherconfigured to execute a method comprising: determining the informationshowing the environment that the first system depends on and theinformation showing the environment that the second system depends on,based on the materials of the first system.
 3. A method comprising:converting definition information about first rules for generating firstdata showing information about an operation of a first system associatedwith a migration source in a form depending on an implementationtechnique of the first system based on materials of the first system,according to a combination of first environment information showing anenvironment that the first system depends on and second environmentinformation showing an environment that a second system associated witha migration destination depends on; converting definition informationabout second rules for generating second data showing the informationabout the operation in a form not depending on an implementationtechnique based on the first data, according to the combination of thefirst environment information and the second environment information;and converting definition information about third rules for generatingthird data showing the information about the operation in a formdepending on an implementation technique of the second system based onthe second data and the first data, according to the combination of thefirst environment information and the second environment information. 4.The method according to claim 3, the method further comprising:determining the information showing the environment that the firstsystem depends on and the information showing the environment that thesecond system depends on, based on the materials of the first system. 5.A system configured to execute program instructions configured toexecute a method comprising: converting definition information aboutfirst rules for generating first data showing information about anoperation of a first system associated with a migration source in a formdepending on an implementation technique of the first system based onmaterials of the first system, according to a combination of firstenvironment information showing an environment that the first systemdepends on and second environment information showing an environmentthat a second system associated with a migration destination depends on;converting definition information about second rules for generatingsecond data showing the information about the operation in a form notdepending on an implementation technique based on the first data,according to the combination of the first environment information andthe second environment information; and converting definitioninformation about third rules for generating third data showing theinformation about the operation in a form depending on an implementationtechnique of the second system based on the second data and the firstdata, according to the combination of the first environment informationand the second environment information.
 6. The conversion apparatusaccording to claim 1, wherein the materials include a source file. 7.The method according to claim 3, wherein the materials include a sourcefile.
 8. The system according to claim 5, the program instructionsfurther configured to execute a method comprising: determining theinformation showing the environment that the first system depends on andthe information showing the environment that the second system dependson, based on the materials of the first system.
 9. The system accordingto claim 5, wherein the materials include a source file.